package com.xyht.sca_s.student_manage_system.modules.assetFixedReturn.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author XYHT
 * @since 2023-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_fixed_return_apply_process_detail")
@ApiModel(value="SmsAssetFixedReturnApplyProcessDetail对象", description="")
public class SmsAssetFixedReturnApplyProcessDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "申请表id")
    private String applyId;

    @ApiModelProperty(value = "引用流程节点id")
    private String processDetailId;

    @ApiModelProperty(value = "流程对象id")
    private String processDetailObjectId;

    @ApiModelProperty(value = "流程对象类型：1：个人，2：角色")
    private Integer processDetailObjectType;

    @ApiModelProperty(value = "流程节点申请人是否可编辑：0不可编辑，1可编辑")
    private Integer processDetailIsApplicantEdit;

    @ApiModelProperty(value = "流程节点是否启用 0关闭 1开启")
    private Integer processDetailIsUse;

    @ApiModelProperty(value = "排序")
    private Integer processDetailSort;

    @ApiModelProperty(value = "是否签名：0不签，1签名")
    private Integer processDetailIsSign;

    @ApiModelProperty(value = "是否盖章：0不该，1盖章")
    private Integer processDetailIsStamp;

    @ApiModelProperty(value = "流程节点名称")
    private String processDetailName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private Integer isDeleted;

    @ApiModelProperty(value = "审批人id")
    private String allowUserId;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "审批状态：0审批中1通过2驳回3撤回结束4驳回结束")
    private Integer processDetailStatus;

    @ApiModelProperty(value = "审批备注")
    private String processDetailRemark;

    @ApiModelProperty(value = "签名")
    private String processDetailSign;

    @ApiModelProperty(value = "盖章")
    private String processDetailStamp;


}
